package com.aijk.ehm.api;

import com.aijk.commons.exception.ErrorCodeException;
import com.aijk.ehm.model.EhmClassifySubscribe;
import com.aijk.ehm.model.qo.EhmClassifySubscribeQo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 标签订阅管理
 */
public interface EhmClassifySubscribeApi {
    Long save(EhmClassifySubscribe bean) throws ErrorCodeException;

    void update(EhmClassifySubscribe bean) throws ErrorCodeException;

    EhmClassifySubscribe findOne(Long id) throws ErrorCodeException;

    List<EhmClassifySubscribe> list(EhmClassifySubscribeQo qo);

    void deleteById(Long id) throws ErrorCodeException;

    void delete(EhmClassifySubscribeQo qo) throws ErrorCodeException;

    int count(EhmClassifySubscribeQo qo);

    PageInfo<EhmClassifySubscribe> page(EhmClassifySubscribeQo qo);

    void saves(List<Long> ids,Long id);
}